<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ex2</title>
</head>
<style>
    .red {
        background-color: red;
        width: 277px;
        height: 103px;
    }

    .yellow {
        background-color: yellow;
        width: 310px;
        height: 435px;
        position: relative;
        top: 10px;
    }
</style>
<body>
    <div class="red"></div>
    <div class="yellow"></div>
    <div class="green1"></div>
    <div class="green2"></div>
    <div class="blue1"></div>
</body>
</html>